package thread;

//使用 lambda 表达式
public class Demo5 {
    public static void main(String[] args) {
        Thread thread = new Thread(
                ()->{
                    System.out.println("hello");
                }
        );
        thread.start();
    }
}